<?php

class SMS extends MY_Controller {

	
	function __construct()
	{
		parent::__construct();
	//	$this->page=$this->module_codes['SMS'];
		$this->load->model('account_model' , 'AM');
                $this->load->model('list_price_model' , 'LPM');
                $this->chekup_names = $this->LPM->get_list_price();
	}
	
	function index()
	{
		/*
		 * @todo :fix the permoisssion
		 * 
		 */
            //$this->check_page_permission('access');
            
		   $this->load->plugin('sms');
              $sms_msg="Be Smart .. Be Dots";
              $to_numbers=962797311270;
              $sender="med-dots";
            send_sms($sms_msg,$to_numbers,$sender); 
            $this->load->view('head');
            $this->load->view('SMS/main');
            $this->load->view('footer');
            
	}
     	

	
}

/* End of file SMS.php */
/* Location: ./system/application/controllers/SMS.php */
